package com.tangyuan.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: video_hot
 * @Author: jeecg-boot
 * @Date: 2024-03-12
 * @Version: V1.0
 */
@Data
@TableName("video_hot")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class VideoHot implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 视频id
     */
    @ApiModelProperty(value = "视频id")
    private Long videoId;
    /**
     * 订单号
     */
    @ApiModelProperty(value = "订单号")
    private String orderNo;
    /**
     * 开始时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间")
    private Date startTime;
    /**
     * 结束时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;
    /**
     * 类型 1-小时 2-播放 3-点赞
     */
    @ApiModelProperty(value = "类型 1-点赞 2-浏览量")
    private Integer type;
    private Integer hotType;
    /**
     * 支付方式 1-微信 2-支付宝 3-余额
     */
    private Integer payType;

    private Integer isCease;
    /**
     * 点赞数/浏览量
     */
    @ApiModelProperty(value = "点赞数/浏览量")
    private Integer typeNum;
    /**
     * 视频已经推广数
     */
    @ApiModelProperty(value = "视频已经推广数")
    private Integer palyedNum;
    /**
     * 点赞已经推广数
     */
    @ApiModelProperty(value = "点赞已经推广数")
    private Integer thumpedNum;
    /**
     * 热门时间
     */
    @ApiModelProperty(value = "热门时间")
    private Integer time;
    /**
     * 下单用户
     */
    @ApiModelProperty(value = "下单用户")
    private Long userId;
    /**
     * 是否付款
     */
    @ApiModelProperty(value = "是否付款")
    private Integer isPaid;
    /**
     * 付款金额
     */
    @ApiModelProperty(value = "付款金额")
    private BigDecimal payNum;
    /**
     * 省
     */
    @ApiModelProperty(value = "省")
    private String province;
    /**
     * 市
     */
    @ApiModelProperty(value = "市")
    private String city;
    /**
     * 县
     */
    @ApiModelProperty(value = "县")
    private String county;
    /**
     * createTime
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "createTime")
    private Date createTime;
    /**
     * updateTime
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "updateTime")
    private Date updateTime;
    /**
     * isDelete
     */
    @ApiModelProperty(value = "isDelete")
    private Integer isDelete;

}